﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMovieSystem
{

    [Serializable]
    /// <summary>
    /// 角色类
    /// </summary>
    public  class Role
    {
        /// <summary>
        /// ID
        /// </summary>
        public int ID;
        /// <summary>
        /// 用户名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd { get; set; }

        /// <summary>
        /// 是否管理员
        /// </summary>
        public bool Super_seller { get; set; }

        public Role() { }
        public Role(string name, string pwd)
        {
            this.Name = name;
            this.Pwd = pwd;
        }
    }
}
